package com.ithe.user.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ithe.core.base.BaseEntity;
import lombok.Data;
import nonapi.io.github.classgraph.json.Id;

/**
 * Created by zxd on 2022/5/12
 */
@TableName( "gxa_user_shipping")
@Data
public class UserShipping extends BaseEntity {


    @Id
    @TableId(type= IdType.AUTO)
    private Long id;

    @TableField("user_id")
    private Long userId;

    /**
     * 收货人全名
     */
    @TableField("receiver_name")
    private String receiverName;

    /**
     * 电话
     */
    @TableField("receiver_phone")
    private String receiverPhone;

    /**
     * 省份
     */
    @TableField("receiver_province")
    private String receiverProvince;

    /**
     * 城市
     */
    @TableField("receiver_city")
    private String receiverCity;

    /**
     * 区/县
     */
    @TableField("receiver_town")
    private String receiverTown;

    /**
     * 收货地址，如：xx路xx号
     */
    @TableField("receiver_address")
    private String receiverAddress;


    /**
     * 邮编
     */
    private String zipCode;

    /**
     * 是否默认地址(1:是；0:否)
     */
    private Integer defaulted;



}